
export default {
  path: "/goods",
  name: "goods",
  component: () => import("@/views/layout/Layout.vue"),
  children: [
    {
      path: "goodsList",
      name: "goodsList",
      component: () => import("@/views/goods/goodsList.vue"),
      meta: {
        name: "商品列表",
        keepAlive: true
      },
    },
    {
      path: "addGoods",
      name: "addGoods",
      component: () => import("@/views/goods/addGoods.vue"),
      meta: {
        name: "添加商品",
        keepAlive: true
       
      },
    },
    {
      path: "updateGoods",
      name: "updateGoods",
      component: () => import("@/views/goods/updateGoods.vue"),
      meta: {
        name: "修改商品",
        keepAlive: true
       
      },
    },
    {
      path: "lookGoods",
      name: "lookGoods",
      component: () => import("@/views/goods/lookGoods.vue"),
      meta: {
        name: "查看商品",
       
      },
    },
  ],
};
